import { get, post, request } from "@/utils/request";
// 综合态势分析
/** 网络安全重点关注项 */
export function safetySituation(query) {
    return post("/Situation/safety/item",query);
}

/**  获取网络运行安全趋势 */
export function safetyTrend(query) {
    return post("/Situation/safety/trend",query);
}

/** 事件统计  */
export function eventCount(query){
    return post("/Situation/event/count",query);
}
/** 统计事件级别分类 */
export function levelCategory(query){
    return post("/Situation/event/level/category",query);
}

/** 保密监管概览 */
export function overview(query){
    return post('/Situation/event/overview',query)
}

/**  监管重点关注项 */
export function eventFocus(query){
    return post('/Situation/event/focus/on',query)
}
/**  网络资产概览 */
export function networkAssetsOverview(query){
    return post('/assetSituation/networkAssetsOverview',query)
}

/**  安全域 */
export function securityDomainTopology(query){
    return post('/assetSituation/securityDomainTopology',query)
}

/** 运维协同响应  */
export function maintenance(query){
    return post('/Situation/event/maintenance/res',query)
}

/**  异常资产排名 */
export function abnormalAssets(query){
    return post('/assetSituation/abnormalAssets',query)
}

/**  违规人员 */
export function abnormalUser(query){
    return post('/assetSituation/abnormalUser',query)
}

/** 资产查询  */
//
export function assetsTableList(query){
    return post('/assetSituation/assetsListPage',query)
}

/**  字典查询 */
export function dictQuery(query){
    return post('/assetSituation/dicListByCode', {code:query})
}

/**  监管指标二级弹窗列表  */
export function regulatoryTableList(query){
    return post('/alarm/search/kpi/list', query)
}

/**  行为指标二级弹窗列表  */
export function behaviorTableList(query){
    return post('/alarm/search/rule/list', query)
}
/** 统计信息 */
export function totalData(query){
    return post('/assetSituation/assetsTypeRingRatio', query)
}
